AC_INIT(cppscript, 0.9.4, cppscript@calumgrant.net)

AC_CONFIG_HEADERS(config.h)
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR(libdynamic/var.cpp)
AC_CONFIG_MACRO_DIR([m4])

AM_INIT_AUTOMAKE(cppscript, 0.9.4)

AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_LIBTOOL

AC_CHECK_LIB(pthread, pthread_create)

AC_OUTPUT(Makefile libdynamic/Makefile tests/Makefile cmdline/Makefile bench/Makefile)
